CVE-2012-2663
Iptables TCP FIN Traffic Manipulation Vulnerability
Description
extensions/libxt_tcp.c in iptables through 1.4.21 does not match TCP SYN+FIN packets in --syn rules, which might allow remote attackers to bypass intended firewall restrictions via crafted packets. NOTE: the CVE-2012-6638 fix makes this issue less relevant.
INFO
Published Date :
Feb. 15, 2014, 2:57 p.m.
Last Modified :
April 11, 2025, 12:51 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | HIGH | [email protected] | 
Solution
- Update iptables packages to the latest version.
 - Consult vendor advisories for specific patch information.
 
Public PoC/Exploit Available at Github
                                            CVE-2012-2663 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2012-2663.
                                        
| URL | Resource | 
|---|---|
| http://www.spinics.net/lists/netfilter-devel/msg21248.html | Patch Third Party Advisory | 
| https://bugzilla.redhat.com/show_bug.cgi?id=826702 | Issue Tracking Mitigation Patch Third Party Advisory | 
| http://www.spinics.net/lists/netfilter-devel/msg21248.html | Patch Third Party Advisory | 
| https://bugzilla.redhat.com/show_bug.cgi?id=826702 | Issue Tracking Mitigation Patch Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2012-2663 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2012-2663
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Java HTML
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2012-2663 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2012-2663 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://www.spinics.net/lists/netfilter-devel/msg21248.html Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=826702  - 
                            
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value  - 
                            
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Changed Description extensions/libxt_tcp.c in iptables through 1.4.21 does not match TCP SYN+FIN packets in --syn rules, which might allow remote attackers to bypass intended firewall restrictions via crafted packets. NOTE: the CVE-2012-6638 fix makes this issue less relevant. extensions/libxt_tcp.c in iptables through 1.4.21 does not match TCP SYN+FIN packets in --syn rules, which might allow remote attackers to bypass intended firewall restrictions via crafted packets. NOTE: the CVE-2012-6638 fix makes this issue less relevant.  - 
                            
CVE Modified by [email protected]
Feb. 13, 2023
Action Type Old Value New Value Changed Description extensions/libxt_tcp.c in iptables through 1.4.21 does not match TCP SYN+FIN packets in --syn rules, which might allow remote attackers to bypass intended firewall restrictions via crafted packets. NOTE: the CVE-2012-6638 fix makes this issue less relevant. extensions/libxt_tcp.c in iptables through 1.4.21 does not match TCP SYN+FIN packets in --syn rules, which might allow remote attackers to bypass intended firewall restrictions via crafted packets. NOTE: the CVE-2012-6638 fix makes this issue less relevant.  - 
                            
Reanalysis by [email protected]
Feb. 01, 2021
Action Type Old Value New Value Changed Reference Type http://www.spinics.net/lists/netfilter-devel/msg21248.html No Types Assigned http://www.spinics.net/lists/netfilter-devel/msg21248.html Patch, Third Party Advisory Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=826702 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=826702 Issue Tracking, Mitigation, Patch, Third Party Advisory Removed CWE NIST CWE-20 Added CWE NIST NVD-CWE-noinfo Changed CPE Configuration OR *cpe:2.3:a:netfilter_core_team:iptables:1.4.0:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.1:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.2:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.3:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.3.1:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.3.2:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.4:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.5:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.6:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.7:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.8:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.9:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.9.1:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.10:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.11:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.11.1:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.12:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.12.1:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.12.2:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.13:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.14:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.15:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.16:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.16.1:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.16.2:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.16.3:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.17:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.18:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.19:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.19.1:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:1.4.20:*:*:*:*:*:*:* *cpe:2.3:a:netfilter_core_team:iptables:*:*:*:*:*:*:*:* versions up to (including) 1.4.21 OR *cpe:2.3:a:netfilter:iptables:*:*:*:*:*:*:*:* versions up to (including) 1.4.21  - 
                            
Initial Analysis by [email protected]
Feb. 18, 2014
Action Type Old Value New Value  
Vulnerability Scoring Details
Base CVSS Score: 7.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.48 }} 0.09%
score
0.64065
percentile